package com.fortune.rainshineservice.mapper;

import com.fortune.rainshinecommon.model.system.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper {
    List<User> getUserByRole(Integer roleId);

    Integer getRoleByUser(@Param("userId") Integer userId);
}
